package com.wallace.downloadserver.wrapper

import java.io.ByteArrayInputStream
import javax.servlet.ReadListener
import javax.servlet.ServletInputStream

class MyServletInputStream(private val bis: ByteArrayInputStream) : ServletInputStream() {

    override fun read(): Int {
        return bis.read()
    }

    override fun isFinished(): Boolean {
        return false
    }

    override fun isReady(): Boolean {
        return false
    }

    override fun setReadListener(listener: ReadListener?) {

    }

}